[Extension()] public static IEnumerable<T> Union<T>( HashSet<T> thisHashset, HashSet<T> otherHashset )
Parameters
- thisHashset
 - A sequence of elements whose distinct elements form the first set for the union.
 - otherHashset
 - An hashset of elements whose distinct elements form the second set for the union.
 
Type Parameters
- T
 - The code element type of the elements of the hashset and the sequence.
 
Return Value
A sequence that contains the elements that form the set union of both hashsets, excluding duplicates.
